﻿namespace RStudio.UIFramwork
{
    /// <summary>
    /// 处理器|激活UI
    /// </summary>
    public class HandlerUIActive : IUIHandler
    {
        public IUIHandler Next { get; set; }

        public void Handle(UIBase uiBase)
        {
            uiBase.gameObject.SetActive(true);
            uiBase.ActiveUI();

            Next?.Handle(uiBase);
        }
    }
}
